body {
    -webkit-text-size-adjust: 100%; //iPhone 和 Android 的浏览器纵向 (Portrate mode) 和橫向 (Landscape mode) 模式皆有自动调整字体大小的功能。控制它的就是 CSS 中的 -webkit-text-size-adjust。text-size-adjust 设为 none 或者 100% 关闭字体大小自动调整功能.
    -webkit-tap-highlight-color: transparent; //比如在图片或者链接上，希望不出现被选中的颜色，可以怎么做呢？其实我们可以将属性-webkit-tap-highlight-color的值设置为透明就可以实现。当然也可以设置成其他颜色，也支持rgba
}

select {
    -webkit-appearance: none; //用来改变按钮和其他控件的外观,加上这个以后，select的高度就可以改变了。所以，当然也可以用于其他浏览器控件中
}

:focus {
    outline: 0;
    -webkit-tap-highlight-color: transparent
}

dy,
ol,
ul,
dl,
li,
dt,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
p,
th,
td,
dl,
dd,
form,
fieldset,
legend,
input,
textarea,
select {
    margin: 0;
    padding: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block
}

html,
body {
    height: 100%;
}

h1,
h2,
h3,
h4,
h5 {
    font-weight: normal;
    font-size: 14px;
}

p {
    font-size: 12px;
}

a {
    color: #333;
    text-decoration: none;
    transition: color .2s ease-out;
}

a:hover {
    text-decoration: none;
}

em,
i {
    font-style: normal;
}

ol,
ul,
dl,
li,
dt,
dd {
    list-style: none
}

img {
    border: 0;
    vertical-align: middle
}

a img {
    border: 0
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

input,
textarea {
    font-family: Helvetica, Tahoma, Arial, "PingFang SC", "Hiragino Sans GB", "Heiti SC", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
    outline: none;
}

input,
textarea {
    -webkit-appearance: none;
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    outline: none;
    padding: 0px;
    margin: 0;
}

.clearfix() {
    &:before,
    &:after {
        content: " ";
        display: table;
    }
    &:after {
        clear: both;
    }
}

.text-ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.overflow-x {
    overflow: hidden;
    overflow-x: scroll;
    -ms-overflow-style: none;
    overflow: -moz-scrollbars-none;
    .clearfix;
    &::-webkit-scrollbar {
        width: 0 !important
    }
}

//------------------------------------------------
@theme-color: #d81e06;
@orange-color: #ffa924;
@purple-color: #b082ff;
@blue-color: #3c6eeb;
.theme-color{
    color: @theme-color;
}
.orange-color {
    color: @orange-color;
}

.purple-color {
    color: @purple-color;
}

.blue-color {
    color: @blue-color  !important;
}
.black-color{
    color: #333;
}
.box-shadow {
    box-shadow: 0 2px .18rem 0 rgba(0, 0, 0, 0.1);
}

//------------------------------------------------
.van-nav-bar {
    background-color: #fff;
    .van-nav-bar__title,
    i {
        color: #666;
    }
}

.van-hairline--bottom::after {
    // border-bottom-width: 0px;
}

.van-swipe__indicator.van-swipe__indicator--active {
    background-color: #fff;
}

.van-hairline--top-bottom::after {
    border-width: 0px;
}

.backTop {
    position: fixed;
    bottom: 80px;
    right: 20px;
    display: none;
    i {
        padding: 10px;
        font-size: 18px;
        border-radius: 100%;
        border: 1px solid #eee;
        color: #fff;
        background-color: #d81e06ba;
    }
}

.v-home,
.v-ranklist {
    .van-tab.van-tab--active {
        color: @theme-color;
        font-size: 22px;
        font-weight: 700;
        letter-spacing: 2px;
    }
    .van-tabs__line {
        display: none;
    }
    .van-tabs--line .van-tabs__wrap {
        .box-shadow;
        width: 100%;
        background-color: #fff;
        z-index: 1;
    }
}

.v-home {
    .van-tabs--line .van-tabs__wrap {
        position: fixed;
    }
}

.v-swipe {
    img {
        width: 100%;
        height: 150px;
    }
    &-item{
        position: relative;
        span{
            position: absolute;
            width: 100%;
            left: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.4);
            padding: 6px 0;
            color: #fff;
            text-indent: 1em;
        }
    }
}
.v-body {
    padding: 60px 10px;
    height: 100%;
    .v-commend {
        margin-top: 10px;
        padding: 10px 0;
        &>div {
            h4 {
                font-size: 16px;
                i {
                    float: right;
                    font-size: 18px;
                }
            }
        }
        &-item {
            .box-shadow;
            padding: 15px 10px;
            margin-bottom: 15px;
        }
    }
    .v-title {
        letter-spacing: 2px;
        font-size: 18px;
        font-weight: 700;
        padding: 10px 0;
        position: relative;
        i {
            position: absolute;
            top: 0;
            right: 0;
            font-size: 18px;
            padding: 10px;
        }
    }
    .v-item {
        margin-bottom: 25px;
        position: relative;
        h2 {
            font-size: 16px;
            padding: 10px 0;
            .text-ellipsis;
        }
        p {
            color: #999;
            font-size: 12px;
            .text-ellipsis;
            &~p{
                padding-top: 10px;
            }
        }
        img {
            width: 100%;
            height: 170px;
            border: 1px solid #f7f7f7;
        }
        &-imghd{
            position: relative;
            &-hot{
                position: absolute;
                top: 0;
                right: 0;
                background: rgba(0, 0, 0, 0.4);
                padding: 2px 5px;
                color: #fff;
                text-align: right;
            }
        }
        &-mark{
            font-size: 16px;
            font-weight: 700;
            padding-left: 5px;
        }
        &-cache-body{
            position: relative;
        }
        &-cache-foot{
            position: absolute;
            bottom: 0;
            right: 10px;
            width: 100%;
            text-align: right;
            button{
                margin-right: 5px;
                font-size: 12px;
                border-radius: 15px;
                i{
                    font-size:14px;
                    padding-left: 2px; 
                }
            }
        }
    }
    &.v-bar-body {
        padding: 0 0 60px;
    }
    .v-notice{
        text-align: center;
        padding: 5px 0;
        margin-bottom: 15px;
        color: #999;
    }
    .v-swipe-del{
        height: 100%;
    }
}

.v-ranklist {
    &-item {
        padding: 10px;
        border-bottom: 1px solid #eee;
        margin-bottom: 15px;
        &-num {
            align-self: center;
            text-align: center;
            color: #999;
            font-size: 18px;
            font-family: Verdana, Geneva, Tahoma, sans-serif;
        }
        &-img {
            text-align: center;
            img {
                width: 90%;
                border: 1px solid #f7f7f7;
            }
        }
        &-body {
            padding-left: 10px;
            position: relative;
            h2 {
                font-size: 16px;
                font-weight: 700;
                letter-spacing: 1px;
                padding-bottom: 15px;
                .text-ellipsis;
            }
            p {
                color: #999;
                letter-spacing: 1px;
            }
            p.v-status {
                position: absolute;
                bottom: 0;
            }
        }
    }
}

.van-nav-bar.v-sticky-bar {
    //background-color: transparent;
    &.van-hairline--bottom::after {
        border-bottom-width: 0;
    }
}

.v-sticky-img {
    padding-top: 46px;
}

.v-detail {
    &-haeader {
        img {
            width: 100%;
            min-height: 210px;
            max-height: 100%;
            border: 1px solid #f7f7f7;
        }
    }
    &-info {
        position: relative;
        padding: 0px 10px;
        align-self: stretch;
        h4 {
            font-size: 20px;
            color: @theme-color;
            font-weight: 700;
            padding-bottom: 10px;
        }
        p {
            font-size: 14px;
            color: #999;
            padding: 5px 0;
            max-height: 48px;
            overflow: hidden;
        }
        .v-play {
            position: absolute;
            bottom: 0;
            right: 0;
            color: @orange-color;
            font-size: 16px;
            padding: 10px;
        }
        .v-play-icon {
            font-size: 18px; 
        }
        &-foot{
            position: absolute;
            bottom: 0;
            left: 10px;
            width: 100%;
            text-align: center;
            button{
                margin-right: 5px;
                font-size: 12px;
                border-radius: 15px;
                i{
                    font-size:14px;
                    padding-left: 2px; 
                }
                &.like{
                    color: #fff;
                    background-color: #f44;
                }
            }
        }
    }
    &-body {
        padding: 10px 0;
        p {
            font-size: 12px;
            text-indent: 2em;
            letter-spacing: 1.5px;
        }
    }
}

.v-play-pop {
    padding: 0 10px;
    h2 {
        letter-spacing: 2px;
        font-size: 18px;
        font-weight: 700;
        padding: 10px 0;
        position: relative;
    }
    .v-play-item {
        padding: 10px 0;
        text-align: center;
        span {
            display: inline-block;
            font-family: Verdana, Geneva, Tahoma, sans-serif;
            color: #999;
            padding: 10px;
            box-shadow: 0 0 0.18rem 0 rgba(0, 0, 0, 0.1);
            letter-spacing: 1px;
        }
    }
}
.v-filter {
    &-body {
        padding-top: 50px;
        overflow: hidden;
        overflow-y: scroll;
        height: 530px;
        .van-cell__title {
            font-weight: 700
        }
    }
    &-btn {
        position: fixed;
        bottom: 0;
        width: 100%;
        padding: 10px 0;
        text-align: center;
        button {
            width: 80%;
            height: 34px;
            line-height: 32px;
            border-radius: 25px;
            font-size: 14px;
            background: @theme-color;
            border-color: @theme-color;
        }
        button.van-button--plain {
            background: #fff;
            color: #999;
            border-color: #999;
        }
    }
    &-item {
        display: inline-block;
        padding: 5px 10px;
        margin: 5px;
        font-size: 12px;
        &.active {
            background-color: @theme-color;
            color: #fff;
        }
    }
}

.v-list {
    &-body {
        padding-top: 110px;
    }
    &-nav {
        position: fixed;
        width: 100%;
        top: 46px;
        left: 0;
        .box-shadow;
    }
}
.van-button--default{
    border-color: #666;
}